package com.yankaizhang.blog.service;

import com.yankaizhang.blog.entity.Article;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Yankai
 * @since 2020-10-02
 */
public interface ArticleService extends IService<Article> {

    HashMap<Integer, List<Article>> getArchiveMap();

    Integer getArticleCount();

    Integer getTotalViews();

    List<Article> getArticleByTag(String decode);
}
